void UpperLowerLimit(double *num, double upper, double lower);
int sign(const double num);
